home *** CD-ROM | disk | FTP | other *** search
/ Network CD 1 / Network CD.iso / tbag / 1-10 / tb7 / doc-files / graphics.docs < prev    next >
Text File  |  1986-08-01  |  7KB  |  194 lines

  1. Graphics-Doc
  2.  
  3. ============================================================================
  4.  
  5. DK         
  6.  
  7.      Here is DK, a little display hack I have been working on for much
  8. longer than my family would like.  I still haven't got all the features
  9. included that I would like to have, but I'm going to be away from Amy next
  10. week and I want to get it posted.  Lotsa folks out there who can improve on
  11. it.  Released to the Public Domain, distribute freely, but not for profit.
  12.  
  13.      In the Credit Where Credit Is Due department, the inspiration for this
  14. idiocy came from Leo Schwab's inane but wonderful creations -- if you
  15. haven't downloaded them yet, search the library for his name and do so
  16. immediately.  DK is minor league stuff compared to some of his (notably
  17. ROBOTROFF).  Credit also to TDI Modula-2 version 3.00a, with which this was
  18. compiled (it won't compile under earlier versions).  A fine system.  I'm
  19. including the source in the ARC.  (ARC.023 used to ARC file).
  20.  
  21.      Finally, I suggest you run DK per the instructions below *FIRST*,
  22. before you look at the source, as some of the fun is in the surprise.
  23.  
  24. INSTRUCTIONS:
  25.  
  26.      1. Make sure there is nothing on your CLI screen you care about
  27.  
  28.      2. After UN-ARCing, simply type `dk <return>' from the CLI
  29.  
  30.      3. Be patient - it takes a minute to get going
  31.  
  32.      4. Control will be returned to you when DK is done
  33.  
  34.  
  35.                                                Have fun,
  36.  
  37.                                                Thomas H. Handel
  38.                                                PeopleLink -- THH --
  39.  
  40. ============================================================================
  41.  
  42. DropShadow                     Copyright James Mackraz, 1987
  43.     Version 2, Revision 0                        April 7, 1987
  44.  
  45.     -----    -----------------------------------------   -----
  46.     Notes for Version 2, Revision 0             April 7, 1987
  47.  
  48.     Added the following from the wish list:
  49.  
  50.     -A slider gadget is implemented to adjust the 3-dimensional
  51.     distance between the planes of the windows.
  52.  
  53.     -A slider gadget is implemented to adjust shadow darkness.  If
  54.     desired, full independent control of the shadow colors is
  55.     possible.
  56.  
  57.     I had some problems with the latter, so I now increase the
  58.     task priority while the darkness slider is selected.  It
  59.     has not been tested thoroughly.
  60.  
  61.     -----    -----------------------------------------   -----
  62.     Notes for Version 1, Revision 1                March 12,1987
  63.  
  64.     When Windows are moved, created, sized, deleted, or depth-
  65.     arranged, Intuition calls layers.library.  This program
  66.     intercepts those calls to determine that the shadow needs
  67.     to be recalculated.  Before this version, this recalculating
  68.     and redrawing was done before Intuition got a chance to
  69.     redraw Window borders and Gadgets.
  70.  
  71.     This version of DropShadow performs the work on its schedule,
  72.     and is only signaled by the code which intercepts the
  73.     layers calls.  This makes for a smoother and less dangerous
  74.     implementation.
  75.     -----    -----------------------------------------   -----
  76.     Notes for Version 1, Revision 0                March 1, 1987
  77.  
  78.  
  79.     The program on this disk creates and maintains multi-level
  80.     transparent drop shadows of windows on the Workbench screen.
  81.  
  82.     The program creates its own window, and is terminated by closing
  83.     that window.  The program, named DropShadow, may be run from
  84.     the CLI, or if associated with an icon, from the Workbench.
  85.  
  86.     The shadows are created by attaching an additional bitplane to
  87.     the Workbench's display bit map, but doing so in a way which
  88.     is transparent to the Workbench or its application programs.
  89.  
  90.     Unfortunately, this third bitplane brings the Workbench screen
  91.     to a point which causes processor cycles to be stolen by the
  92.     display generation hardware.  Thus, this program is probably
  93.     best used only for demos and having fun, at least for users
  94.     without "Fast" RAM.
  95.  
  96.     Enhancements which are planned include:
  97.  
  98.     -The program detects that the shadow image needs to be
  99.     recalculated by monitoring the layers library.  That section
  100.     of code should check that the layers activity is in fact in
  101.     the Workbench screen.
  102.  
  103.     -A way to detect color changes in preferences would allow the
  104.     shadow colors to track user changes to the Workbench colors.
  105.     In the meantime, the program must be restarted to initialize the
  106.     shadow colors.  Commodities Exchange can be used for this.
  107.  
  108.     -A technique of unknown type is planned for user control of
  109.     the light source which casts shadows.  Shadows cast according
  110.     to the position of the sun (time of day and season) are possible
  111.     but unlikely.
  112.  
  113.     -This program is not yet a safe Library vector stealer.  It should
  114.     refuse to exit if some other program has displaced its vectors,
  115.     lest that other program call DropShadow after it has exited.
  116.  
  117.  
  118.                                 Jim Mackraz
  119.                                 7101 Rainbow Drive #8
  120.                                 San Jose, CA  95129
  121. =============================================================================
  122.  
  123.  PING!
  124.  
  125.  
  126.  Another display hack... I'm surprised I haven't seen anyone do this yet.
  127.  This seemed to be the next obvious logical extension of the *ing series.
  128.  
  129.  This one works especially well when run together with one of the other
  130.  display toys, like YaBoing or Robotroff.
  131.  
  132.  It's up to YOU to get the window closed! (or just hit [ESC]).
  133.  
  134.  Could use a lot more work, just a quick implementation of a neat idea.
  135.  
  136.  
  137.  
  138.  By Chris Saulit,    28-Mar-87.
  139.  
  140. =============================================================================
  141.  
  142. Scat!   
  143. By Stephen R. Pietrowicz
  144.  
  145. Freely distributable as long as this notice stays in the archive.
  146.  
  147. This program was hacked from Leo Schwab's "Ing.c" program during an
  148. afternoon that I took a break from working on ACO.  Open up 2-4 windows
  149. and move the mouse pointer around on the screen.  That's it!
  150.  
  151. This program was originally uploaded to PeopleLink's Amiga Zone.  The Amiga
  152. Zone has well over 2000 members, and a library of thousands of public domain
  153. files.  If you're interested in joining us, call 800-524-0100 (voice) 
  154. or 800-826-8855 (modem).
  155.  
  156.  
  157. If you enjoyed this program, join PeopleLink's Amiga Zone!
  158.  
  159. =============================================================================
  160.  
  161. FLIP
  162.  
  163. Yet another demo. This was done in assembly so it is very small. It takes a
  164. moment but then the screen flips upside down. To exit simply press your mouse
  165. button.
  166.  
  167. =============================================================================
  168.  
  169. MELT
  170.  
  171. This demo will make your screen melt right before your eyes. To exit pull down
  172. the screen and click the melt window close gadget.
  173.  
  174. =============================================================================
  175.  
  176. POINTRZ
  177.  
  178. This demo shows some possibilities of animated cursors. Four windows open up.
  179. Just click in any window and your cursor will change to the object. To exit,
  180. click one of the four close gadgets.
  181.  
  182. =============================================================================
  183.  
  184. VIDEO
  185.  
  186. Once the files have been loaded look for talk.script and click that file then
  187. click on play and the video will start. to exit click the mouse then click the
  188. exit gadget.
  189.  
  190. =============================================================================
  191.  
  192. Have Fun...
  193.  
  194.